package com.lsz.mybatis.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lu shun zhi
 * @date 2020/5/29 16:16
 */
@Mapper
public interface TestMapper {
    /**
     * Query all user information
     *
     * @return all user
     */
    List<Map<Object, String>> userList(@Param("index") Integer index);

    Map<Object, String> userById(@Param("id") Integer id);
}
